﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;

namespace PrismModule
{
    public class MainWindowViewModel
    {
        public ICommand OpenCommand { get; set; }
        public MainWindowViewModel(IRegionManager regionManager,
            IModuleManager moduleManager)
        {
            OpenCommand = new DelegateCommand(() => {
                //moduleManager.LoadModule("AAA");
                regionManager.RequestNavigate("MainRegion", "ViewA");
            });
        }
    }
}
